package model

import (
	"encoding/json"
	"fmt"
)

func StrFunc(stu *Student) string {
	stu.Name = "tom"
	stu.Age = 10
	marshal, _ := json.Marshal(stu)
	fmt.Println(marshal)
	fmt.Printf("c 的地址 %p", stu)
	return string(marshal)
}
